body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #2980b9, #2c3e50);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.form-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    width: 100%;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-row .form-group {
    flex: 1;
    margin-right: 10px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

input[type="submit"] {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

input[type="submit"]:hover {
    background-color: #2980b9;
}

.error-msg {
    color: #e74c3c;
    font-weight: bold;
    margin-bottom: 15px;
}

.success-msg {
    color: #27ae60;
    font-weight: bold;
    margin-bottom: 15px;
}

.type-contact {
    margin-bottom: 15px;
}

#contact {
    display: block;
}

#contact.hide {
    display: none;
}
.type_demande{
    display: flex;
    justify-content: space-around;
}
#nom_contact{
    display: none;
}